package server;


/**
 * this class represents a set of Mean Values of the appropriate metrics
 * @author nemi
 *
 */
public class MeanValue {
	private double packetLossRate; 
	private int count; //indicates how many DataSets this meanvalues are based on
	private double meanrssi;
	private double meanlqi;
	private double sdrssi; //standard deviation of RSSI
	
	
	public MeanValue(double packetLossRate, int count,
			double meanrssi, double meanlqi, double sdrssi) {
		super();
		this.packetLossRate = packetLossRate;
		this.count = count;
		this.meanrssi = meanrssi;
		this.meanlqi = meanlqi;
		this.sdrssi=sdrssi;
	}
	
	
	public double getSdrssi() {
		return sdrssi;
	}


	public void setSdrssi(double sdrssi) {
		this.sdrssi = sdrssi;
	}


	public double getPacketLossRate() {
		return packetLossRate;
	}
	public void setPacketLossRate(double packetLossRate) {
		this.packetLossRate = packetLossRate;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public double getMeanrssi() {
		return meanrssi;
	}
	public void setMeanrssi(double meanrssi) {
		this.meanrssi = meanrssi;
	}
	public double getMeanlqi() {
		return meanlqi;
	}
	public void setMeanlqi(double meanlqi) {
		this.meanlqi = meanlqi;
	}
	
}
